package com.example.demo.niuke;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

/**
 * @Description:
 * @Author: LLL
 * @Date: 2020-03-21 15:18
 **/
public class Main16 {
    public static void main(String[] args) throws IOException {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String line = null;
        while ((line = br.readLine()) != null) {
            String[] split = line.split("");
            for (String s : split) {
                // 大写
                if (65 <= s.charAt(0) && s.charAt(0) <= 90) {
                    if (s.toLowerCase().charAt(0) == 122) {
                        System.out.print("a");
                    } else {
                        char c = ((char) (s.toLowerCase().charAt(0) + 1));
                        System.out.print(c);
                    }
                }
                // 小写
                else if (97 <= s.charAt(0) && s.charAt(0) <= 122) {
                    if ("abc".contains(s)) {
                        System.out.print("2");
                    } else if ("def".contains(s)) {
                        System.out.print("3");
                    } else if ("ghi".contains(s)) {
                        System.out.print("4");
                    } else if ("jkl".contains(s)) {
                        System.out.print("5");
                    } else if ("mno".contains(s)) {
                        System.out.print("6");
                    } else if ("pqrs".contains(s)) {
                        System.out.print("7");
                    } else if ("tuv".contains(s)) {
                        System.out.print("8");
                    } else if ("wxyz".contains(s)) {
                        System.out.print("9");
                    } else {
                        System.out.print(s);
                    }

                } else {
                    System.out.print(s);
                }

            }

        }

    }
}
